package rr18.rr181.rr181.rr18.plugin.form;

import kd.bos.bill.AbstractBillPlugIn;
import kd.bos.form.control.events.ItemClickEvent;
import kd.sdk.plugin.Plugin;
import java.util.EventObject;

/**
 * 单据界面插件
 */
/**
 * 单据界面插件
 */
public class HelloKingdeeCloudGalaxy extends AbstractBillPlugIn implements Plugin {

    private final static String KEY_BARITEM1 = "rr18_test001";

    @Override
    public void registerListener(EventObject e){
        super.registerListener(e);
        this.addItemClickListeners(KEY_BARITEM1);
    }

    @Override
    public void itemClick(ItemClickEvent evt){
        if (KEY_BARITEM1 != evt.getItemKey()){
            this.getView().showMessage("Hello, kingdee Cloud Galaxy!!");
        }
    }

}